package com.health.healthapplet.entity;

public class Response {
    String msg;
    int code;
    Boolean rel = true;
    Object result;

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }


    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getRel() {
        return rel;
    }

    public void setRel(Boolean rel) {
        this.rel = rel;
    }

    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }

    public void setResponse(Boolean rel,String msg, int code,Object result) {
        this.msg = msg;
        this.code = code;
        this.rel = rel;
        this.result = result;
    }
    public Response(){}
    public Response(String msg, int code, Boolean rel) {
        this.msg = msg;
        this.code = code;
        this.rel = rel;
    }
}
